package net.jsoft.pms.entity.openservice;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;

@Entity
@Table(name = "t_dzswj_openservice")
public class OpenService implements Serializable
{

    /**
     * 
     */
    private static final long serialVersionUID = 659994350750295576L;

    private long id;

    private String version;

    private Date publishDate;

    private String note;

    private String addition;

    private String entire;

    @Lob
    @Column(columnDefinition = "LONGTEXT")
    public String getAddition()
    {
        return addition;
    }

    public void setAddition(String addition)
    {
        this.addition = addition;
    }

    @Lob
    @Column(columnDefinition = "LONGTEXT")
    public String getEntire()
    {
        return entire;
    }

    public void setEntire(String entire)
    {
        this.entire = entire;
    }

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public long getId()
    {
        return id;
    }

    public String getVersion()
    {
        return version;
    }

    public void setId(long id)
    {
        this.id = id;
    }

    public void setVersion(String version)
    {
        this.version = version;
    }

    public Date getPublishDate()
    {
        return publishDate;
    }

    public void setPublishDate(Date publishDate)
    {
        this.publishDate = publishDate;
    }

    public String getNote()
    {
        return note;
    }

    public void setNote(String note)
    {
        this.note = note;
    }

}
